package com.ruoyi.zone.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 手耳足反射区对象 reflex_zone
 * 
 * @author ruoyi
 * @date 2025-10-10
 */
public class ReflexZone extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 反射区ID */
    private Long id;

    /** 反射区名称 */
    @Excel(name = "反射区名称")
    private String name;

    /** 部位：手部/足部/耳部 */
    @Excel(name = "部位：手部/足部/耳部")
    private String position;

    /** 细分部位ID */
    @Excel(name = "细分部位ID")
    private Long partId;

    /** 位置描述 */
    @Excel(name = "位置描述")
    private String location;

    /** 功效 */
    @Excel(name = "功效")
    private String function;

    /** 按摩手法 */
    @Excel(name = "按摩手法")
    private String operation;

    /** 图片URL（逗号分隔） */
    @Excel(name = "图片URL", readConverterExp = "逗=号分隔")
    private String images;

    /** 是否免费 */
    @Excel(name = "是否免费")
    private Integer isFree;

    /** 查看价格 */
    @Excel(name = "查看价格")
    private BigDecimal price;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setPartId(Long partId) 
    {
        this.partId = partId;
    }

    public Long getPartId() 
    {
        return partId;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setFunction(String function) 
    {
        this.function = function;
    }

    public String getFunction() 
    {
        return function;
    }

    public void setOperation(String operation) 
    {
        this.operation = operation;
    }

    public String getOperation() 
    {
        return operation;
    }

    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    public void setIsFree(Integer isFree) 
    {
        this.isFree = isFree;
    }

    public Integer getIsFree() 
    {
        return isFree;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("position", getPosition())
            .append("partId", getPartId())
            .append("location", getLocation())
            .append("function", getFunction())
            .append("operation", getOperation())
            .append("images", getImages())
            .append("isFree", getIsFree())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .toString();
    }
}
